/**
 * Aggressive resets so we can achieve a consistent look in
 * hostile CSS environments.
 */
div.admin-links {
  margin:0px;
  padding:0px;
  border:0px;
  outline:0px;
  font-size:100%;
  vertical-align:baseline;
  line-height:inherit;
  text-align:left;  
}

/**
 * Inline/contextual tools
 */
div.block,
div.node,
div.view,
div.view-data-node-body { position:relative; }

div.block div.view { position:static; }

div.admin-inline { display:none; }

div.admin-border {
  opacity:.25;
  position:absolute;
  left:-10px;
  right:-10px;
  top:-10px;
  bottom:-10px;
  height:10px;
  width:10px;
  background:#666;
  }

  div.admin-border-top {
    left:0px; right:0px;
    width:auto;
    bottom:auto;
    }

  div.admin-border-bottom {
    left:0px; right:0px;
    width:auto;
    top:auto;
    }

  div.admin-border-left {
    height:auto;
    right:auto;

    -moz-border-radius-topleft:5px;
    -moz-border-radius-bottomleft:5px;
    -webkit-border-top-left-radius:5px;
    -webkit-border-bottom-left-radius-:5px;
    }

  div.admin-border-right {
    height:auto;
    left:auto;

    -moz-border-radius-topright:5px;
    -moz-border-radius-bottomright:5px;
    -webkit-border-top-right-radius:5px;
    -webkit-border-bottom-right-radius-:5px;
    }

div.admin-links {
  -moz-border-radius-topleft:5px;
  -moz-border-radius-topright:5px;
  -webkit-border-top-left-radius:5px;
  -webkit-border-top-right-radius:5px;

  font:normal 11px/20px "Lucida Grande",Verdana,sans-serif !important;
  background:#444 url(sprite.png) 0px -110px repeat-x !important;

  position:absolute;
  top:-25px;
  right:0px;

  z-index:100;
  height:25px;
  line-height:25px;
  overflow:hidden;
  }

  div.view:hover div.node div.admin-inline,
  div.block:hover div.node div.admin-inline { display:none; }

  div.view:hover div.node:hover div.admin-inline,
  div.block:hover div.node:hover div.admin-inline { display:block; }

  div.view:hover div.admin-inline,
  div.block:hover div.admin-inline,
  div.node:hover div.admin-inline { display:block; }

div.admin-links a,
div.admin-links a:hover {
  background-color:transparent !important;
  background-image:url(sprite.png);
  background-repeat:no-repeat;
  background-position:25px 25px;

  color:#fff !important;
  text-transform:none !important;
  font-weight:normal !important;
  font-style:normal !important;
  float:left !important;
  padding:0px 10px 0px 25px;
  line-height:25px !important;
  }

  div.admin-links a.icon-delete { background-position:-215px -155px; }
  div.admin-links a.icon-edit { background-position:-215px -180px; }
  div.admin-links a.icon-configure { background-position:-215px -205px; }